package com.lianzheng.dao;

import java.util.List;
import com.lianzheng.model.TbSysPartcode;

/**
 * User Data Access Object (DAO) interface.
 *
 * <p>
 * <a href="TbSysPartcodeDAO.java.html><i>View Source</i></a>
 * </p>
 *
 * @author <a href="heymanchen@gmail.com">haihua chen</a>
 */
public interface TbSysPartcodeDAO extends com.lianzheng.dao.DAO {
    /**
     * Gets TbSysPartcodes information based on id
     * @param id the current ID
     * @return TbSysPartcode populated TbSysPartcode object
     */
    public TbSysPartcode getTbSysPartcode(java.math.BigDecimal id);
	public TbSysPartcode getTbSysPartcodeFull(java.math.BigDecimal id);



    /**
     * add a tbSysPartcode's information
     * @param tbSysPartcode the object to be added
     */
    public void addTbSysPartcode(TbSysPartcode tbSysPartcode);
    /**
     * update a tbSysPartcode's information
     * @param tbSysPartcode the object to be updated
     */
    public void updateTbSysPartcode(TbSysPartcode tbSysPartcode);
    /**
     * Removes a tbSysPartcode from the database by primary Key id
     * @param id the tbSysPartcode's id
     */
    public void removeTbSysPartcode(java.math.BigDecimal id);

    /**
     * Gets a list of TbSysPartcodes based on parameters passed in.
     *
     * @return List populated list of TbSysPartcodes
     */
    public List getTbSysPartcodes();

    public List getTbSysPartcodeByAnd(TbSysPartcode tbSysPartcode,String order_by);

    public List getTbSysPartcodeByOr(TbSysPartcode tbSysPartcode,String order_by);

    public List getTbSysPartcodeByLike(TbSysPartcode tbSysPartcode,String order_by);
}
